package com.eling.elcms.travel.service;

import com.eling.elcms.core.service.IGenericManager;
import com.eling.elcms.travel.model.Plan;
import com.eling.elcms.travel.model.PlanItem;
import com.eling.elcms.travel.model.view.PlanItemView;
import com.eling.elcms.travel.model.view.PlanView;

import java.util.List;

public interface IPlanManager extends IGenericManager<Plan, Long>{

	/** 自定义存储*/
	Plan saveplan(PlanView view);


	/**
	 * 根据状态查询
	 * @return
	 */
	List<Plan> queryStatus();

	/** 查询报名详情*/
	List<PlanItem> inquirySignup(PlanView view);

	PlanItemView selectplan(Plan plan);


	List<Plan> queryYear(Plan plan);
}
